package com.ike.main;

import java.util.ArrayList;
import java.util.List;

import org.wltea.expression.ExpressionEvaluator;
import org.wltea.expression.datameta.Variable;

public class HelloWorld {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		/*if(args.length == 0){
			args = new String[1];
			args[0] = "aaa";
		}
		String name = "wangchao";
		String expression = "\"Hello World \" +name";
		List<Variable> variables = new ArrayList<Variable>();
		variables.add(Variable.createVariable("name", args[0]));
		Object result = ExpressionEvaluator.evaluate(expression, variables);
		System.out.println(expression);*/
		Object result = ExpressionEvaluator.evaluate("(1+(2+3))*5");  
        System.out.println(result);  
	}

}
